package lib.util;

import java.math.BigInteger;
import java.security.MessageDigest;

public class EncrypterStandard {
 public static String md5Encrypt(String password) {
        try {
            MessageDigest m = MessageDigest.getInstance("MD5");
            m.update(password.getBytes(), 0, password.length());
            return new BigInteger(1, m.digest()).toString(16);
        } catch (Exception ex) {
        }
        return "";
    }
}